// 使用 Mock
var Mock = require('mockjs')
var Random = Mock.Random

function getCartdata() {
	var cartData = []
	for (var i = 0; i < 10000; i++) {
		var getCartdata = {
			name: Random.cword(16),
		}
		cartData.push(getCartdata)
	}
	return cartData
}




// 输出结果
const cartData = Mock.mock('/getCartdata', getCartdata)

export default {
	cartData,
}
